﻿using System;
namespace NetTao.Model
{
    /// <summary>
    /// ChapterInfo:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class ChapterInfo
    {
        public ChapterInfo()
        {
        }

        #region Model

        private int _chapterid;
        private int _siteid = 0;
        private int _articleid = 0;
        private string _articlename = "";
        private int _volumeid = 0;
        private int _posterid = 0;
        private string _poster = "";
        private int _postdate = 0;
        private int _lastupdate = 0;
        private string _chaptername = "";
        private int _chapterorder = 0;
        private int _size = 0;
        private int _saleprice = 0;
        private int _salenum = 0;
        private int _totalcost = 0;
        private string _attachment = "";
        private int _isvip = 0;
        private int _chaptertype = 0;
        private int _power = 0;
        private int _display = 0;
        private int _isnew = 0;
        private int _ctype = 0;
        private string _contenstlink = "";
        private int _preview_page =-1;
        private int _sourcearticleid = 0;
        private string _webflag = "";
        public string webflag
        {
            get { return _webflag; }
            set { _webflag = value; }
        }

        public int sourcearticleid
        {
            get { return _sourcearticleid; }
            set { _sourcearticleid = value; }
        }

        private int _sourcechapterid = 0;
        public int sourcechapterid
        {
            get { return _sourcechapterid; }
            set { _sourcechapterid = value; }
        }

        public int previewpage
        {
            get { return _preview_page; }
            set { _preview_page = value; }
        }
        private int _next_page=-1 ;
        public int nextpage
        {
            get { return _next_page; }
            set { _next_page = value; }
        }

        private string _volumename = "";

        public  string volumename
        {
            get { return _volumename; }
            set { _volumename = value; }
        }
        public string contentslink
        {
            set { _contenstlink = value; }
            get { return _contenstlink; }
        }

        public int ctype
        {
            set { _ctype = value; }
            get { return _ctype; }
        }
    

    /// <summary>
        /// auto_increment
        /// </summary>
        public int chapterid
        {
            set { _chapterid = value; }
            get { return _chapterid; }
        }

        /// <summary>
        /// 
        /// </summary>
        public int siteid
        {
            set { _siteid = value; }
            get { return _siteid; }
        }

        /// <summary>
        /// 
        /// </summary>
        public int articleid
        {
            set { _articleid = value; }
            get { return _articleid; }
        }

        /// <summary>
        /// 
        /// </summary>
        public string articlename
        {
            set { _articlename = value; }
            get { return _articlename; }
        }

        /// <summary>
        /// 
        /// </summary>
        public int volumeid
        {
            set { _volumeid = value; }
            get { return _volumeid; }
        }

        /// <summary>
        /// 
        /// </summary>
        public int posterid
        {
            set { _posterid = value; }
            get { return _posterid; }
        }

        /// <summary>
        /// 
        /// </summary>
        public string poster
        {
            set { _poster = value; }
            get { return _poster; }
        }

        /// <summary>
        /// 
        /// </summary>
        public int postdate
        {
            set { _postdate = value; }
            get { return _postdate; }
        }

        /// <summary>
        /// 
        /// </summary>
        public int lastupdate
        {
            set { _lastupdate = value; }
            get { return _lastupdate; }
        }

        /// <summary>
        /// 
        /// </summary>
        public string chaptername
        {
            set { _chaptername = value; }
            get { return _chaptername; }
        }

        /// <summary>
        /// 
        /// </summary>
        public int chapterorder
        {
            set { _chapterorder = value; }
            get { return _chapterorder; }
        }

        /// <summary>
        /// 
        /// </summary>
        public int size
        {
            set { _size = value; }
            get { return _size; }
        }

        /// <summary>
        /// 
        /// </summary>
        public int saleprice
        {
            set { _saleprice = value; }
            get { return _saleprice; }
        }

        /// <summary>
        /// 
        /// </summary>
        public int salenum
        {
            set { _salenum = value; }
            get { return _salenum; }
        }

        /// <summary>
        /// 
        /// </summary>
        public int totalcost
        {
            set { _totalcost = value; }
            get { return _totalcost; }
        }

        /// <summary>
        /// 
        /// </summary>
        public string attachment
        {
            set { _attachment = value; }
            get { return _attachment; }
        }

        /// <summary>
        /// 
        /// </summary>
        public int isvip
        {
            set { _isvip = value; }
            get { return _isvip; }
        }

        /// <summary>
        /// 
        /// </summary>
        public int chaptertype
        {
            set { _chaptertype = value; }
            get { return _chaptertype; }
        }

        /// <summary>
        /// 
        /// </summary>
        public int power
        {
            set { _power = value; }
            get { return _power; }
        }

        /// <summary>
        /// 
        /// </summary>
        public int display
        {
            set { _display = value; }
            get { return _display; }
        }

        public int isnew
        {
            get { return _isnew; }
            set { _isnew = value; }
        }

    #endregion Model

    }
}

